Home / DeveloperSection / Interviews / What are value type and reference type.?
You haven’t finished your post yet. Are you sure you want to leave and discard your draft?
Can you answer this question?
Jonas Stuart
Value types are stored in the stack where a reference types are stored on heap.
Value type
Int,enum,byte,decimal,double,long
Reference types
String,class,interface object
You have need login or register for voting of answers or question.
Jonas Stuart
24-Feb-2017Value types are stored in the stack where a reference types are stored on heap.
Value type
Int,enum,byte,decimal,double,long
Reference types
String,class,interface object